package com.clw.practice.errors.paper1;

public class Demo1 {
    public static void main(String[] args) {
        int sum = 0;
        for (int x = 0; x < 10; x++){
            sum += x;
            if (x%3 == 0){
                break;
            }
        }
        System.out.println(sum); // 正确答案是0 我选择成6
        //0的余数除了0外都是0
    }
}
